@echo off
cls

set altSyntax="%1"
if (altSyntax=="") then set altSyntax=false

REM : clean .\build\ directory
echo.
echo [ Cleaning .\build\ directory ... ]
del /s/q/f .\build\debug\*.*
del /s/q/f .\build\release\*.*
echo [ Done! ]
echo.

echo.
echo [ Running build script ... ]
cscript build.js /altsyntax %altSyntax%
echo [ Done! ]
echo.

echo [ Build complete! ]
echo [ gimme.js available in .\build\debug\ ]
echo.
echo. [ Enjoy! :-) ]
